#include "trap.h"
   .set noat
   .globl main
   .text
main: 
   li    $at, 0x11111110             # $at =  11111110  
   li    $v0, 0x00000001            # $v0 = 00000001
   li    $v1, 0x01010000	# $v1 = 01010000
   and   $t0, $at, $v0              # $t0 = 0x00000000
   and 	$t0, $at, $v1     			# $t0 = 0x01010000
   andi	$t0, $at, 0x1111			# $t0 = 0x00001110
   andi	$t0, $at, 0x0000			# $t0 = 0x00000000
   lui  $t0,0x1111
   lui  $t0,0x1101
   nor	$t0, $at, $v0		         # $t0 = 0xeeeeeeee
   nor	$t0, $at, $v1		         # $t0 =  0xeeeeeeef
   or	$t0, $at, $v0		         # $t0 = 0x11111111
   or	$t0, $at, $v1		         # $t0 = 0x11111110
   xor	$t0, $at, $v0		      # $t0 = 0x11111111
   xor	$t0, $at, $v1           # $t0 = 0x10101110
   xori	$t0, $at, 0x1111			# $t0 = 0x11110001
   xori	$t0, $at, 0x0000			# $t0 = 0x11111110

   HIT_GOOD_TRAP		#stop temu